<template>
  <div class="toast">{{message}}</div>
</template>

<script>
export default {
  name: "ToastView.vue",
  props: ['message']
}
</script>

<style scoped>
.toast {
  /*width: 100px;*/
  /*height: 100px;*/
  position: fixed;
  left: 70%;
  top: 45%;
  transform: translate(-50%,-50%);
  padding: 10px;
  background: rgba(0,0,0,0.35);
  border-radius: 5px;
  color: #FFF;
}


</style>